import createElement from "../../createElement"
import gxg from "../gxg/gxg"

export default function TaskBarGxg() {
  const taskbarGxg = createElement('div', {
    taskbarGxg: 'taskbar-item  h-full flex items-center',
    onclick: () => {
      gxg.toggleShow()
    },
  })

  setInterval(() => {
    taskbarGxg.textContent = 'MGGA'
  }, 500)

  return {
    element: taskbarGxg
  }
}
